package com.cnpinxi.domain;

import java.util.Date;

/**
 * Created by Baggio on 2018-3-6.
 */
public class UserAccount {
    /**
     * 现金账户
     */
    public static final Byte ACCOUNT_TYPE_CASH = 1;
    /**
     * 积分账户
     */
    public static final Byte ACCOUNT_TYPE_SCORE = 2;
    /**
     * 兑换账户（用户默认每月5000元）
     */
    public static final Byte ACCOUNT_TYPE_CONCESSIONAL = 3;


    private Long tid;

    private Long userId;


    private Byte accountType;

    private Integer money;

    private Date createTime;


    public Long getTid() {
        return tid;
    }

    public void setTid(Long tid) {
        this.tid = tid;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Byte getAccountType() {
        return accountType;
    }

    public void setAccountType(Byte accountType) {
        this.accountType = accountType;
    }

    public Integer getMoney() {
        return money;
    }

    public void setMoney(Integer money) {
        this.money = money;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }



}
